﻿
@using (Html.BeginForm("Index", "Fav", FormMethod.Get))
{
<p>
    @Html.ActionLink("Create New", "Edit")
</p>

<div>
    @foreach (var item in ViewBag.Fav)
    {
        <li><a href="@item.BsUrl" target="_blank">[@item.BsClassid].@item.BsName</a></li>
    }

</div>

<table>
    <tr>
        <th></th>

    </tr>

    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
    <tr>
      <td>@Html.ActionLink("缓存清理", "ClearCache", new { /* id=item.PrimaryKey */ }) |</td>
       <td></td>
      <td></td>
   </tr>

</table>
}
